package com.hong.service_user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hong.fy_model.model.user.UserEntity;
import com.hong.fy_model.vo.user.LoginVo;

import java.util.Map;


/**
 * 
 *
 * @author wqh
 * @email 1601709391@qq.com
 * @date 2022-06-16 21:42:56
 */
public interface UserService extends IService<UserEntity> {
    //用户注册
    boolean register(UserEntity user);
    //用户账号密码登录
    Map<String, Object> loginByPwd(LoginVo loginVo);

    //用户手机号码登录
    Map<String, Object> loginByPhone(LoginVo loginVo);
}

